<ul class="user_list">
	<?php if (!empty($experts)) {?>
		<?php foreach($experts as $expert) { ?>
		<li>
			<table cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td rowspan="2" width="85">
						<a href="<?php echo site_url("user/show?user_id=" . $expert['created_by'] );?>"><img class="avatar" src="<?php echo site_url();?><?php echo empty($expert['thumb_avatar']) ? "img/user.png" : "img/avatar/" . $expert['thumb_avatar']; ?>" /></a>
					</td>
					<td width="220">
						<a href="<?php echo site_url("user/show?user_id=" . $expert['created_by'] . "&expert_id=" . $expert['id']);?>" class="bold"><?php echo $expert['nickname']?></a>&nbsp;&nbsp;&nbsp;&nbsp;
						<span><?php echo $expert['title'];?></span>
					</td>
					<td width="155">
						<span class="grey">服务报价：</span>
						<span><?php echo $expert['price'];?></span>
					</td>
					<td>
						<span class="grey">服务地区：</span>
						<span>
						<?php 
							echo (!empty($provinces[$expert['province_id']]) ? $provinces[$expert['province_id']] : '') ;
							echo (!empty($page_cites[$expert['city_id']]) && $page_cites[$expert['city_id']]!='市辖区') ?  $page_cites[$expert['city_id']] : '';
							echo (!empty($page_areas[$expert['area_id']]) ? $page_areas[$expert['area_id']] : '');
						 ?>
						 </span>
					</td>
				</tr>
				<tr>
					<?php if(!empty($expert['score'])) {?>
					<td>
						<span class="grey">好评：
						<?php for($i = 0; $i < floor($expert['score']) && $i < 5; $i++) {?>
							<img src="/img/star-on.png" />
						<?php }?>
						</span>
					</td>
					<?php } else {?>
					<td>
						<span class="grey">暂无评价
						</span>
					</td>
					<?php }?>
					<td>
						<span class="grey">受雇：</span>
						<span><?php echo $expert['employ_count'];?>次</span>
					</td>
					<td>
						<span class="grey">身份验证：</span>
						<span><?php echo $expert['vertification'];?></span>
					</td>
				</tr>
			</table>
		</li>
		<?php } ?>
	<?php }?>
</ul>